package com.landinfo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Properties specific to yuanlin Web Platform New.
 * <p>
 * Properties are configured in the application.yml file.
 * See {@link io.github.jhipster.config.JHipsterProperties} for a good example.
 */
@Component
@ConfigurationProperties(prefix = "application", ignoreUnknownFields = false)
public class ApplicationProperties {

    private Integer srid;

    /**
     * 草原确权子表ParentId字段名
     */
    private String grassAuthenticRightParentIdFieldName;


    public Integer getSrid() {
        return srid;
    }

    public void setSrid(Integer srid) {
        this.srid = srid;
    }

    public String getGrassAuthenticRightParentIdFieldName() {
        return grassAuthenticRightParentIdFieldName;
    }

    public void setGrassAuthenticRightParentIdFieldName(String grassAuthenticRightParentIdFieldName) {
        this.grassAuthenticRightParentIdFieldName = grassAuthenticRightParentIdFieldName;
    }
}

